package top.rish.converter.solon;

import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import top.rish.converter.handler.DesensitizedConverterHandler;
import top.rish.converter.handler.EnumConverterHandler;
import top.rish.converter.handler.KvConverterHandler;

@Configuration
public class Config {
    @Bean
    public KvConverterHandler kvConverterHandler() {
        return new KvConverterHandler();
    }

    @Bean
    public DesensitizedConverterHandler desensitizedConverterHandler() {
        return new DesensitizedConverterHandler();
    }

    @Bean
    public EnumConverterHandler enumConverterHandler() {
        return new EnumConverterHandler();
    }
}